package com.demo.model;

import java.math.BigInteger;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author 杨森
 * @since 2022-04-07
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
public class MovieOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    @TableId(value = "order_id")
    private BigInteger orderId;

    /**
     * 购票人id
     */
    private Integer userId;

    /**
     * 购票电话号码
     */
    private String userPhone;

    /**
     * 订单状态 1新建订单 2未支付 3已支付 4已使用 5退款 6过期 7超时未支付
     */
    private Integer orderStart;

    /**
     * 订单金额
     */
    private String orderMoney;

    /**
     * 取款码
     */
    private String orderWithdraw;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 逻辑删除
     */
    @TableField("Is_Deleted")
    private Integer isDeleted;

    /**
     * 版本号
     */
    private Integer version;


}
